package com.company.project.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;

import java.util.Date;
import javax.persistence.*;

@Table(name = "KR_WOKRDAY_SUMS")
public class KrWokrdaySums extends BaseRowModel {
    @Id
    @Column(name = "DIVISION")
    @ExcelProperty(value = {"事业群","事业群"},index = 0)
    private String division;
    @Column(name = "WORKDAY")//
    private Date workday;

    @Column(name = "DEPT")
    private String dept;
    @ExcelProperty(value = {"当日在职员工人数","当日在职员工人数"},index = 2)
    @Column(name = "PERSON_SUM")
    private Integer personSum;//
    @ExcelProperty(value = {"未执行“六休一”","人数"},index = 3)
    @Column(name = "ADD_PERSON_SUM")
    private Integer addPersonSum;
    @ExcelProperty(value = {"未执行“六休一”","比例"},index = 4)
    @Column(name = "RATES")
    private String rates;

    /**
     * @return WORKDAY
     */
    public Date getWorkday() {
        return workday;
    }

    /**
     * @param workday
     */
    public void setWorkday(Date workday) {
        this.workday = workday;
    }

    /**
     * @return DIVISION
     */
    public String getDivision() {
        return division;
    }

    /**
     * @param division
     */
    public void setDivision(String division) {
        this.division = division;
    }

    /**
     * @return DEPT
     */
    public String getDept() {
        return dept;
    }

    /**
     * @param dept
     */
    public void setDept(String dept) {
        this.dept = dept;
    }

    /**
     * @return PERSON_SUM
     */
    public Integer getPersonSum() {
        return personSum;
    }

    /**
     * @param personSum
     */
    public void setPersonSum(Integer personSum) {
        this.personSum = personSum;
    }

    /**
     * @return ADD_PERSON_SUM
     */
    public Integer getAddPersonSum() {
        return addPersonSum;
    }

    /**
     * @param addPersonSum
     */
    public void setAddPersonSum(Integer addPersonSum) {
        this.addPersonSum = addPersonSum;
    }

    /**
     * @return RATES
     */
    public String getRates() {
        return rates;
    }

    /**
     * @param rates
     */
    public void setRates(String rates) {
        this.rates = rates;
    }
}